.class Lcom/xingbook/group/view/l;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/xingbook/group/view/PublishRelativeLayout;

.field private final synthetic b:Landroid/util/SparseArray;


# direct methods
.method constructor <init>(Lcom/xingbook/group/view/PublishRelativeLayout;Landroid/util/SparseArray;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/group/view/l;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    iput-object p2, p0, Lcom/xingbook/group/view/l;->b:Landroid/util/SparseArray;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 5

    const/4 v4, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    iget-object v1, p0, Lcom/xingbook/group/view/l;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    iget v1, v1, Lcom/xingbook/group/view/PublishRelativeLayout;->b:I

    if-eq v1, v0, :cond_0

    iget-object v1, p0, Lcom/xingbook/group/view/l;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v1, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->b(Lcom/xingbook/group/view/PublishRelativeLayout;I)V

    iget-object v1, p0, Lcom/xingbook/group/view/l;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v1}, Lcom/xingbook/group/view/PublishRelativeLayout;->l(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/widget/ImageView;

    move-result-object v1

    const v2, 0x7f02018e

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v1, p0, Lcom/xingbook/group/view/l;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v1}, Lcom/xingbook/group/view/PublishRelativeLayout;->m(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/widget/ImageView;

    move-result-object v1

    const v2, 0x7f02018f

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v1, p0, Lcom/xingbook/group/view/l;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v1}, Lcom/xingbook/group/view/PublishRelativeLayout;->n(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/widget/TextView;

    move-result-object v1

    const/high16 v2, 0x4120

    iget-object v3, p0, Lcom/xingbook/group/view/l;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v3}, Lcom/xingbook/group/view/PublishRelativeLayout;->o(Lcom/xingbook/group/view/PublishRelativeLayout;)F

    move-result v3

    mul-float/2addr v2, v3

    float-to-int v2, v2

    invoke-virtual {v1, v2, v4, v4, v4}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v1, p0, Lcom/xingbook/group/view/l;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v1}, Lcom/xingbook/group/view/PublishRelativeLayout;->n(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/widget/TextView;

    move-result-object v1

    iget-object v2, p0, Lcom/xingbook/group/view/l;->b:Landroid/util/SparseArray;

    invoke-virtual {v2, v0}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method
